package com.grq.mis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.beetl.sql.annotation.entity.AutoID;
import org.beetl.sql.annotation.entity.Table;

import java.io.Serializable;
import java.util.Date;
/*
* 
* gen by beetlsql3 2021-11-21
*/
@Data
@NoArgsConstructor
@AllArgsConstructor

@Table(name="t_login_record")
public class LoginRecord implements Serializable {
	@AutoID
	private Long id ;
	private String username ;
	private Date loginTime ;
	private String client ;
	private String ip ;
	private Boolean isSuccess ;
	private String msg ;

	public LoginRecord(String username, Date loginTime, String client, String ip, Boolean isSuccess, String msg) {
		this.username = username;
		this.loginTime = loginTime;
		this.client = client;
		this.ip = ip;
		this.isSuccess = isSuccess;
		this.msg = msg;
	}

}
